package com.example.teachingSystem.pojo.form.Schedule;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "新增课程安排表")
public class AddScheduleForm {
    /**
     * 课程ID
     */
    @Schema(description = "课程ID")
    @NotNull(message = "课程ID不能为空")
    private Long courseId;

    /**
     * 本课程的第几次课时
     */
    private Integer lessonNumber;

    /**
     * 第几节上课
     */
    @Schema(description = "第几节上课")
    @NotNull(message = "第几节上课不能为空")
    private Integer classNumber;

    /**
     * 第几周
     */
    @Schema(description = "第几周")
    @NotNull(message = "第几周不能为空")
    private Integer weekNumber;

    /**
     * 星期几
     */
    @Schema(description = "星期几")
    @NotNull(message = "星期几不能为空")
    private String dayOfWeek;

    /**
     * 教室
     */
    @Schema(description = "教室")
    @NotNull(message = "教室不能为空")
    private String classroom;
}
